package entity;

import java.io.Serializable;

import client_controllers.EmployeeLoginController;

/**
 * @class Receive / send data between the server and client
 * 
 * 
 * @param obj uses generic objects to send/get the Requested information,
 *  the information will come in the form of a certain class or
 *  defined data type of java .
 *  
 * @param command IS THE action that we want to make in DB.
 * @param control save the name of the control that ask to make action.
 * @param msg return massage from server if we need.
 */
public class Boss implements Serializable{
	
	private Object obj;
	private String command="";
	private String control="";
	private String msg="";



public Boss(Object o,String command,String control){
		this.setObj(o);
		this.setCommand(command);	
		this.setControl(control);
	}

public void setObj(Object obj) {
	this.obj = obj;
}


public String getCommand() {
	return command;
}


public void setCommand(String command) {
	this.command = command;
}


public String getMsg() {
	return msg;
}


public void setMsg(String msg) {
	this.msg = msg;
}
public Object getObj() {
	return obj;
}
public String getControl() {
	return control;
}
public void setControl(String control) {
	this.control = control;
}

}
